package cn.lizemin.entity;

import cn.lizemin.constant.RpcConstant;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lzm
 * @Date 2024/7/16
 * @description
 */
@Data
public class RpcRequest implements Serializable {

    private static final long serialVersionUID = 7147679301737051238L;
    /**
     * 服务名
     */
    private String serviceName;

    /**
     * 方法名
     */
    private String methodName;

    /**
     * 方法参数
     */
    private Object[] args;

    /**
     * 参数类型
     */
    private Class<?>[] argTypes;

    private String version = RpcConstant.DEFAULT_SERVICE_VERSION;

}
